﻿using BussinessObject.ObjectTwo;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ProjectHK3.Object_One
{
    public partial class CreateDistance : System.Web.UI.Page
    {
        B_LoadDrop ex = new B_LoadDrop();
        DataTable tb = new DataTable();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DropDownList1.DataSource = ex.Bran();
                DropDownList1.DataTextField = "BRANCH_NAME";
                DropDownList1.DataValueField = "BRANCH_ID";
                DropDownList1.DataBind();

                DropDownList2.DataSource = ex.Bran();
                DropDownList2.DataTextField = "BRANCH_NAME";
                DropDownList2.DataValueField = "BRANCH_ID";
                DropDownList2.DataBind();
            }
        }
    }
}